package main

import(
	"fmt"
	"os"
	"github.com/urfave/cli"
)
func main()  {
   app := cli.NewApp()
   app.Name = "greet"

   app.Usage = "fight the loneliness!"
   app.Action = func (c *cli.Context) error{
	   var cmd string
	   if c.NArg() > 0{
		   cmd = c.Args()[0]
	   }
	   fmt.Println("Hello friends!cmd:",cmd)
       return nil
   }
   app.Run(os.Args)
}